package com.git.smp.entitydoc;

public class InterfaceInfo {

    /* 查询类接口 */
    public static final String TYPE_QUERY = "EQ";
    /* 非查询接口 */
    public static final String TYPE_NON_QUERY = "EI";

    private String transCode;
    private String transName;
    private String interfaceType;
    
    
    

    public InterfaceInfo(String transCode, String transName, String interfaceType) {
        this.transCode = transCode;
        this.transName = transName;
        this.interfaceType = interfaceType;
    }

    public InterfaceInfo(String transCode, String transName) {
    	this(transCode, transName, transName.contains("查询")?TYPE_QUERY:TYPE_NON_QUERY);
    }

	public String getTransCode() {
		return transCode;
	}

	public void setTransCode(String transCode) {
		this.transCode = transCode;
	}

	public String getTransName() {
		return transName;
	}

	public void setTransName(String transName) {
		this.transName = transName;
	}

	public String getInterfaceType() {
		return interfaceType;
	}

	public void setInterfaceType(String interfaceType) {
		this.interfaceType = interfaceType;
	}
    

}
